<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<title>德州扑克服务平台</title>
		<meta http-equiv="pragma" content="no-cache">
		<meta http-equiv="cache-control" content="no-cache">
		<meta http-equiv="expires" content="0">
		<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
		<meta http-equiv="description" content="This is my page">
		<link rel="stylesheet" type="text/css"
			href="<%=basePath%>skins/themes/default/easyui.css">
		<link rel="stylesheet" type="text/css"
			href="<%=basePath%>skins/themes/main.css">
		<link rel="stylesheet" type="text/css"
			href="<%=basePath%>skins/themes/icon.css">
		<link rel="stylesheet" type="text/css"
			href="<%=basePath%>skins/themes/demo.css">
		<script type="text/javascript"
			src="<%=basePath%>skins/jquery-1.7.2.min.js">
</script>
		<script type="text/javascript"
			src="<%=basePath%>skins/jquery.easyui.min.js">
</script>
		<script type="text/javascript">
function open1(title, url) {
	if ($('#tt').tabs('exists', title)) {
		$('#tt').tabs('select', title);
	} else {
		$('#tt').tabs('add', {
			title : title,
			content : createFrame(url),
			closable : true
		});
	}
}

function createFrame(url) {
	var s = '<iframe name="mainFrame" scrolling="auto" frameborder="0" src="' + url + '" style="width:100%;height:100%;"></iframe>';
	return s;
}
</script>
	</head>
	<body class="easyui-layout" style="text-align: left">
		<div region="north" border="false"
			style="background: #666; text-align: center">
			<div id="header-inner"
				style="color: #fff; font-size: 22px; font-weight: bold;">
				德州扑克服务平台
			</div>
		</div>
		<div region="west" border="false" split="true" title="功能列表"
			style="width: 250px; padding: 5px;">
			<ul class="easyui-tree">
				<li iconCls="icon-datagrid">
					<span>服务管理</span>
					<ul>
						<li iconCls="icon-gears">
							<a href="javascript:void(0);"
								onclick="open1('牌局历史','<%=basePath%>innings/history.action')">牌局历史</a>
						</li>
						<li iconCls="icon-gears">
							<a href="javascript:void(0);"
								onclick="open1('平台登录','<%=basePath%>equipment/history.action')">平台登录</a>
						</li>
					</ul>
				</li>
			</ul>
		</div>
		<div region="center" border="false">
			<div id="tt" class="easyui-tabs" fit="true" border="false"
				plain="true">
				<div title="欢迎你." href="<%=basePath%>common/welcome.action">
				</div>
			</div>
		</div>
	</body>
</html>
